package fanshe;

public class demo01 {
	public static void main(String[] args) {
		a b=new a();
		System.out.println(b.width);
	}
}
class a extends af{
	public static int width;
	static {
		System.out.println("初始化a");
		width=300;
	}
	public a(){
		System.out.println("chuangjiana");
	}
}
class af{
	static {
		System.out.println("静态初始af");
	}
}